package com.by.product.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("miaosha_product")
public class ProductEntity {
    @TableId
    private Long id;
    private String name;
    private Integer stock;
    private BigDecimal price;
    private String description;
    private String image;
    private Integer status; // 0:下架, 1:上架
    private Long createTime;
    private Long updateTime;
}